package com.aos.eap.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author hx
 * @date 2019/10/22
 * @desc
 */
public class CapBean implements Serializable {
    @SerializedName("eqpid")
    private String EqpID;
    @SerializedName("reasonlist")
    private List<ReasonBean> ReasonList;
    @SerializedName("caphislist")
    private List<CapHistoryBean> CapHisList;

    public List<ReasonBean> getReasonList() {
        return ReasonList == null ? new ArrayList<>() : ReasonList;
    }

    public void setReasonList(List<ReasonBean> reasonList) {
        ReasonList = reasonList;
    }

    public String getEqpID() {
        return EqpID == null ? "" : EqpID;
    }

    public void setEqpID(String eqpID) {
        EqpID = eqpID;
    }


    public List<CapHistoryBean> getCapHisList() {
        return CapHisList == null ? new ArrayList<>() : CapHisList;
    }

    public void setCapHisList(List<CapHistoryBean> capHisList) {
        CapHisList = capHisList;
    }

    public class ReasonBean
    {
        private String reason;

        public String getReason() {
            return reason == null ? "" : String.valueOf(reason);
        }

        public void setReason(String reason) {
            this.reason = reason;
        }
    }
}
